<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title><sitemesh:write property='title'/></title>
    <link type="text/css" rel="stylesheet" href="/public/css/main.css">
    <link type="text/css" rel="stylesheet" href="/static/bootstrap/css/bootstrap.min.css">
    <link type="text/css" rel="stylesheet" href="/public/css/font-awesome.min.css">
    <script src="/static/jquery-1.11.3.js"></script>
    <script src="/static/bootstrap/js/bootstrap.min.js"></script>
    <%--<script src="http://cdn.bootcss.com/vue/1.0.12/vue.min.js"></script>--%>
    <script src="/static/vue-2.1.10.js"></script>
    <script src="http://apps.bdimg.com/libs/angular.js/1.4.6/angular.min.js"></script>
    <script>
        $(function () {
            $("#icpYear").html(new Date().getFullYear());
        })
    </script>
    <sitemesh:write property='head'/>
</head>
<body>
<security:authorize access="isAuthenticated()">
    <span class="authName">
        <security:authentication property="principal.username" scope="session"/>&nbsp;
        <a href="/user/logout">退出</a>
    </span>
</security:authorize>
<sitemesh:write property='body'/>

<div style="text-align:center;height: 25px;width: 100%;">
    <div style="">&copy;2014-<span id="icpYear"></span> www.xf-style.cn 版权所有 ICP证：蜀17028118</div>
    <img style="width: 20px;" src="//img.alicdn.com/tfs/TB1..50QpXXXXX7XpXXXXXXXXXX-40-40.png">
    <span><a target="_blank" href="http://www.miitbeian.gov.cn/">蜀ICP备 17028118号</a></span>
</div>

<sitemesh:write property='myScript'/>
</body>
</html>